function comment_votes(status,comment_id){
    url = "/products/comment_votes/";
    var token = $("#csrfmiddlewaretoken").val();
    $.post(url,{'useful_or_not':status,'comment_id':comment_id,"csrfmiddlewaretoken": token},function(data){
        $("#total_num_"+comment_id).text(data['total_num']);
        $("#useful_num_"+comment_id).text(data['useful_num']);
    });
}